const KEY = "vanth5";

// 获取token
export const getToken = () => {
  return localStorage.getItem(KEY);
};
// 设置token
export const setToken = (token) => {
  localStorage.setItem(KEY, token);
};
// 删除token
export const delToken = () => {
  localStorage.removeItem(KEY);
};
